#Shows the difference between the files.
file = File.open(ARGV[0])
file1 = File.open(ARGV[1])
line1 = ""
counter = 0
counter_1 = 0
   while line = file1.gets
    counter +=1
      while line1 = file.gets
         counter_1 += 1
      if line1 != line
           puts "#{ARGV[0]} line number #{counter}:\r\n #{line}\r\n #{ARGV[1]} line number #{counter_1}:\r\n #{line1}\r\n"
        end
    end
   counter_1 = 0
   end
puts "\r\n\r\nTotal lines: #{counter}"
